home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / layout / nsIPrintProgressParams.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  118 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIPrintProgressParams.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIPrintProgressParams_h__
  6. #define __gen_nsIPrintProgressParams_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIPrintProgressParams */
  19. #define NS_IPRINTPROGRESSPARAMS_IID_STR "ca89b55b-6faf-4051-9645-1c03ef5108f8"
  20.  
  21. #define NS_IPRINTPROGRESSPARAMS_IID \
  22.   {0xca89b55b, 0x6faf, 0x4051, \
  23.     { 0x96, 0x45, 0x1c, 0x03, 0xef, 0x51, 0x08, 0xf8 }}
  24.  
  25. class NS_NO_VTABLE nsIPrintProgressParams : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPRINTPROGRESSPARAMS_IID)
  29.  
  30.   /* attribute wstring docTitle; */
  31.   NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle) = 0;
  32.   NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle) = 0;
  33.  
  34.   /* attribute wstring docURL; */
  35.   NS_IMETHOD GetDocURL(PRUnichar * *aDocURL) = 0;
  36.   NS_IMETHOD SetDocURL(const PRUnichar * aDocURL) = 0;
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIPRINTPROGRESSPARAMS \
  42.   NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle); \
  43.   NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle); \
  44.   NS_IMETHOD GetDocURL(PRUnichar * *aDocURL); \
  45.   NS_IMETHOD SetDocURL(const PRUnichar * aDocURL); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIPRINTPROGRESSPARAMS(_to) \
  49.   NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle) { return _to GetDocTitle(aDocTitle); } \
  50.   NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle) { return _to SetDocTitle(aDocTitle); } \
  51.   NS_IMETHOD GetDocURL(PRUnichar * *aDocURL) { return _to GetDocURL(aDocURL); } \
  52.   NS_IMETHOD SetDocURL(const PRUnichar * aDocURL) { return _to SetDocURL(aDocURL); } 
  53.  
  54. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  55. #define NS_FORWARD_SAFE_NSIPRINTPROGRESSPARAMS(_to) \
  56.   NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocTitle(aDocTitle); } \
  57.   NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocTitle(aDocTitle); } \
  58.   NS_IMETHOD GetDocURL(PRUnichar * *aDocURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocURL(aDocURL); } \
  59.   NS_IMETHOD SetDocURL(const PRUnichar * aDocURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocURL(aDocURL); } 
  60.  
  61. #if 0
  62. /* Use the code below as a template for the implementation class for this interface. */
  63.  
  64. /* Header file */
  65. class nsPrintProgressParams : public nsIPrintProgressParams
  66. {
  67. public:
  68.   NS_DECL_ISUPPORTS
  69.   NS_DECL_NSIPRINTPROGRESSPARAMS
  70.  
  71.   nsPrintProgressParams();
  72.  
  73. private:
  74.   ~nsPrintProgressParams();
  75.  
  76. protected:
  77.   /* additional members */
  78. };
  79.  
  80. /* Implementation file */
  81. NS_IMPL_ISUPPORTS1(nsPrintProgressParams, nsIPrintProgressParams)
  82.  
  83. nsPrintProgressParams::nsPrintProgressParams()
  84. {
  85.   /* member initializers and constructor code */
  86. }
  87.  
  88. nsPrintProgressParams::~nsPrintProgressParams()
  89. {
  90.   /* destructor code */
  91. }
  92.  
  93. /* attribute wstring docTitle; */
  94. NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(PRUnichar * *aDocTitle)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98. NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const PRUnichar * aDocTitle)
  99. {
  100.     return NS_ERROR_NOT_IMPLEMENTED;
  101. }
  102.  
  103. /* attribute wstring docURL; */
  104. NS_IMETHODIMP nsPrintProgressParams::GetDocURL(PRUnichar * *aDocURL)
  105. {
  106.     return NS_ERROR_NOT_IMPLEMENTED;
  107. }
  108. NS_IMETHODIMP nsPrintProgressParams::SetDocURL(const PRUnichar * aDocURL)
  109. {
  110.     return NS_ERROR_NOT_IMPLEMENTED;
  111. }
  112.  
  113. /* End of implementation class template. */
  114. #endif
  115.  
  116.  
  117. #endif /* __gen_nsIPrintProgressParams_h__ */
  118.